package com.ycz.springcloud;/*
 @author ycz
 @date 2021-08-19-13:56  
*/


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient //在服务启动后自动注册到Eureka中
@EnableCircuitBreaker //添加熔断的服务
public class SysUserMain_8001 {
    public static void main(String[] args) {
        SpringApplication.run(SysUserMain_8001.class,args);
    }
}
